package com.zbkj.crmeb.pdd.request;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 拼多多商户
 * @author daigb
 * @date:  2022-11-14 14:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_pdd_account")
@ApiModel(value="eb_pdd_account对象", description="")
public class PddAccountRequest implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "店铺名称")
    private String name;

    @NotNull(message = "店铺账号不能为空")
    @ApiModelProperty(value = "店铺账号")
    private String account;
    
    @ApiModelProperty(value = "授权状态: 0: 未授权 1: 有效 2: 已失效")
    private Integer status;
    
    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "到期时间")
    private Date expireTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
